<template>
    <div>
        <div>
            <vi-select :data="options" v-model:result="value"></vi-select>
        </div>
        <div style="margin-top:30px">
            <!-- <vi-select :data="options" :multiple="true" v-model:results="values"></vi-select> -->
        </div>
    </div>
</template>
<script>
import arrayData from '../data/arrayData'
import { ref } from 'vue'

export default {
    setup() {
        let options=ref([])
        const value=ref()
        const values=ref([])
       
        return {
            options,
            value,
            values
        }
    },
    mounted(){
        this.options=arrayData.getObjectArrData(10)
    },
    methods:{
        addOptions(){
            // this.options=arrayData.getObjectArrData(20)
        }
    }
}
</script>
<style>

</style>